#ifndef TRUEENDING_H
#define TRUEENDING_H

#include <QWidget>
#include<qstring.h>
#include "game.h"

namespace Ui {
class trueending;
}

class trueending : public QWidget
{
    Q_OBJECT

public:
    explicit trueending(QWidget *parent = nullptr);
    ~trueending();

private:
    Ui::trueending *ui;
    QPixmap qh[100];
    QString dialog[100]={"test",
                         "......",
                         "Upload successful",
                         "......",
                         "Message from unknown sender:",
                         "...",
                         "我们将来还会再见。",
                         "True ending"};
    game *g;

protected:
    void paintEvent(QPaintEvent *event);

private slots:
    void on_nextpushButton_clicked();
};

#endif // TRUEENDING_H
